package com.unt.javawebunt.dao;

import com.unt.javawebunt.dto.PatientDTO;
import com.unt.javawebunt.exception.DataAccessLayerException;

public interface IPatientDAO {

	/**
	 * Save a patient. return entity saved
	 * 
	 * @param P
	 * @return
	 * @throws DataAccessLayerException
	 */
	public PatientDTO savePatient(PatientDTO dto) throws DataAccessLayerException;

	
	
	/**
	 * delete a patient
	 * 
	 * @param P
	 * @return
	 * @throws DataAccessLayerException
	 */
	public PatientDTO delete(PatientDTO dto) throws DataAccessLayerException;

}
